package com.qbccn.bbs.mapper;

import com.qbccn.bbs.domain.BbsUserSign;import org.apache.ibatis.annotations.Param;

/**
 * @author linke
 * @date 2020/6/14 2:08
 * @description
 */
public interface BbsUserSignMapper {

  int deleteByPrimaryKey(Integer id);

  int insertSelective(BbsUserSign record);

  BbsUserSign selectByPrimaryKey(Integer id);

  int updateByPrimaryKeySelective(BbsUserSign record);

  int updateByPrimaryKey(BbsUserSign record);

  boolean hasSign(String username);

  boolean isContinuity(String username);

  BbsUserSign getLastSignDay(@Param("username") String username);
}
